package CWM;
//二维数组的静态初始化
/*
格式    数据类型 [] [] 变量名= new 数据类型 [] [] { {元素1，元素2...}, {元素1，元素2...}... };
       例如：int [] [] array = new int [] [] {{11,22},{33,44}};
简化格式：数据类型 [] [] 变量名={ {元素1，元素2...}, {元素1，元素2...}... };
         例如：  int [] [] array ={{11,22},{33,44}};
 */
public class cwm8 {
    public static void main(String[] args) {
        int [] array1={11,22,33};
        int [] array2={44,55,66};

         int [] [] arr={ {11,22,33},{44,55,66} };
        System.out.println(arr[1][2]);


        int [] [] array={array1,array2};
        System.out.println(array[1][1]);
    }
}
